<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <table border="1" width="400px" height="400px">
        <thead>
            <th>姓名</th>
            <th>年龄</th>
            <th>性别</th>
        </thead>
        <hr>
        <tbody>
            <tr>
                <td>张三</td>
                <td rowspan="2">12</td>
                <td>男</td>
            </tr>
           
            <tr>
                <td>李四</td>
                <!-- <td>22</td> -->
                <td rowspan="2">女</td>
            </tr>
            <tr>
                <td colspan="2">王五</td>
                <!-- <td>32</td> -->
                <!-- <td>女</td> -->
            </tr>
        </tbody>
       
    </table>
</body>
</html>